﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dracham.Classes
{
    public partial class Spell
    {
        public List<SpellEffect> Effects { get; set; }

        public void Initialize()
        {
            this.Effects = new List<SpellEffect>();
            this.SpellEffectMaps.ToList().ForEach(delegate(SpellEffectMap sem)
            {
                this.Effects.Add(sem.SpellEffect);
            });
        }
    }
}
